<link rel="stylesheet" type="text/css" href="<?= base_url(); ?>assets/css/admin/stickytooltip.css" />
<script type="text/javascript" src="<?= base_url(); ?>assets/js/admin/stickytooltip.js"></script>
<div class="grid_7">
    <div class="box">
        <h2>
            <a href="#" id="toggle-tables">Post Requirement Approval</a>
        </h2>
        <fieldset> 
            <legend>Post Requirement Approval</legend>
            <?php foreach ($requirements as $requirements) : ?>
                <div class="field" >
                    <div style="width:750px; float: left; height:40px;">
                        <span style="float:left; margin-right:50px" ><?= $requirements->posted_on; ?></span>
                        <span style="float:left;margin-right:150px">
                            <span id="mystickytooltip" class="stickytooltip">
                                <?= $this->member_model->get_member($requirements->user)->first_name . ' ' . $this->member_model->get_member($requirements->user)->last_name; ?>
                                <a href="#"><img src="<?= base_url(); ?>assets/images/sicon.png" alt="Comment" border="0" 
                                                 ONMOUSEOVER="ddrivetip('Color:<?= $requirements->color; ?></br>Price:<?= $requirements->price; ?></br>Description :<?= $requirements->comments; ?>')" ONMOUSEOUT="hideddrivetip()"/></a>
                            </span>
                        </span>
                        <span style="float:left;margin-right:50px">
                        </span>
                        <span style="float:right;"></span>
                    </div>
                    <a href="<?= base_url(); ?>admin/approval/active_requirment/<?= $requirements->id; ?>" class="link-button" style="float: right" onclick="return confirm('Are you sure you want to Active?')"> Active </a>
                </div>      

            <?php endforeach; ?>
        </fieldset> 
        <div class="pagination" align="left"> <?php echo $this->pagination->create_links(); ?>  </div>
    </div>
</div>